home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
m
/
maxonc++2.dms
/
maxonc++2.adf
/
MCPIncl.lha
/
graphics
/
layers.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-26
|
1KB
|
55 lines
#ifndef GRAPHICS_LAYERS_H
#define GRAPHICS_LAYERS_H
/*
** $Filename: graphics/layers.h $
** $Release: 2.04 $
** $Revision: 37.0 $
** $Date: 91/01/07 $
**
**
**
** (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
** All Rights Reserved
*/
#ifndef EXEC_LISTS_H
#include <exec/lists.h>
#endif
#ifndef EXEC_SEMAPHORES_H
#include <exec/semaphores.h>
#endif
#define LAYERSIMPLE 1
#define LAYERSMART 2
#define LAYERSUPER 4
#define LAYERUPDATING 0x10
#define LAYERBACKDROP 0x40
#define LAYERREFRESH 0x80
#define LAYER_CLIPRECTS_LOST 0x100 /* during BeginUpdate */
/* or during layerop */
/* this happens if out of memory */
#define LMN_REGION -1
struct Layer_Info
{
struct Layer *top_layer;
struct Layer *check_lp; /* system use */
struct ClipRect *obs; /* system use */
struct MinList FreeClipRects;
struct SignalSemaphore Lock;
struct List gs_Head; /* system use */
LONG longreserved;
UWORD Flags;
BYTE fatten_count;
BYTE LockLayersCount;
UWORD LayerInfo_extra_size;
WORD *blitbuff;
VOID *LayerInfo_extra;
};
#define NEWLAYERINFO_CALLED 1
#define ALERTLAYERSNOMEM 0x83010000
#endif /* GRAPHICS_LAYERS_H */